git merge

使用 git rebase --onto 無痛更新分支

提交 PR 前需要更新 feature branch 的 base branch,這時候就可以使用 `rebase --onto` 來無痛更新分支,直接將 feature branch 的 commit 接到 main branch 之後。

git git rebase git merge git cherry-pick GitHub pull request · 留言


Git: 如何從特定 commit 切新的分支?

本文說明如何從特定 commit 切新的分支、為新分支命名、將新分支合併回主線、退回尚未合併分支的狀態與刪除用不到的分支。

git git merge git branch Sourcetree · 留言


Git: 四種將分支與主線同步的方法

四種將分支與主線同步的方法。

git rebase git cherry-pick git merge git · 留言


Git: 更新分支+解衝突

更新分支+解衝突。

git rebase git merge git Sourcetree · 留言


Git 筆記

設定、指令、疑難雜症。

git rebase git cherry-pick git merge git branch git · 留言